package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRegionService {

    Region get(Long id);

    List<Region> listAll();

    List<Region> selectByPrentId(Long parentId);

    Long saveOrUpdate(Region region);

    void changeState(Long id,Integer state);

    List<Region> listByState(Integer state);
}
